package com.woniuxy.woniuticket.financemodule.dao;

import com.woniuxy.woniuticket.pojo.CinemaAccount;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
@Mapper
public interface CinemaAccountDAO {

    int insert(CinemaAccount record);

    int insertSelective(CinemaAccount record);

    //账户进账
    int increaseMoney(BigDecimal money);

    //账户支出
    int decreaseMoney(BigDecimal money);

    //查询账户余额
    CinemaAccount findAccountBalance();

    //缴纳年费
    int payFee(BigDecimal money);

}